package com.speechb.mapper.dao;

import com.speechb.entity.LoginHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoginHistoryDao<T>  extends BaseDao<T>{
    LoginHistory findLaster(String uid);
    List<LoginHistory> findAll(String uid);

    int deleteByUid(@Param("uid")String uid);

    List<LoginHistory> findListOfAdmin(@Param("_order") String order, @Param("search") String search);
}
